package com.tms.service;

import com.tms.domain.Location;

import java.util.List;

/**
 * location业务接口定义
 */
public interface LocationService {

    /**
     * 根据ID查询
     */
    Location findLocationById(Integer id);

    /**
     * 创建
     */
    Location createLocation(Location Location);

    /**
     * 根据ID删除
     */
    void deleteLocationById(Integer id);

    /**
     * 根据ID更新
     */
    Location updateLocationById(Location location);

    List<Location> getAllLocation();

    Location findLocationByName(String locationName, int workcellId);
}